package com.lb.tools.lbtools.tools.file;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description: 定义ftp
 * User: liubin
 * Date: 2017-12-06
 * Time: 下午 1:56
 */
@Component("ftpConfig")
@ConfigurationProperties
@PropertySource("classpath:/ftp-dev.properties")
@Data
public class FtpConfig {

    private String ftpUrl;

    private String ftpPort;

    private String ftpUserName;

    private String ftpPassWord;
}
